home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 …ember: Reference Library / Apple Developer Reference Library (December 1999) (Disk 1).iso / pc / technical documentation / develop / develop issue 28 / develop issue 28 code / sketch / source / appleevent / osasupport.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-11  |  896 b   |  30 lines

  1. /****************************************************************************
  2.  * 
  3.  * OSASupport.h
  4.  * 
  5.  ****************************************************************************/
  6.  
  7. #ifndef __OSASUPPORT__
  8. #define __OSASUPPORT__
  9.  
  10. #include <Components.h>
  11. #include <OSA.h>
  12. #include <OSAComp.h>
  13. #include <OSAGeneric.h>
  14.  
  15. //---------------------------------------------------------------------------
  16.  
  17. Boolean                 InitializeOSASupport                (void);
  18. Boolean                 HasOSASupport                        (void);
  19.  
  20. ComponentInstance    GetScriptingComponentInstance    (void);
  21.  
  22. OSErr                    ConnectToScriptingComponent    (void);
  23. OSAError                LoadCompiledScript                (FSSpec *fsSpec, OSAID *scriptID);
  24. OSAError                ExecuteScript                        (OSAID scriptID);
  25. OSErr                    ExamineScriptError                (ComponentInstance componentInstance, short *startOffset, short *endOffset);
  26.  
  27. //---------------------------------------------------------------------------
  28.  
  29. #endif
  30.